package com.ems.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ems.system.entity.SysRoleUser;

import java.util.List;

public interface SysRoleUserService extends IService<SysRoleUser> {

    List<SysRoleUser> getRoleUserByRoleId(Long roleId);

    void edit(Long userId, List<String> roleIds);

    List<SysRoleUser> getRoleUserByUserId(Long userId);

    void deleteByUserId(String userId);
}
